Revision: 1572
          http://rigsofrods.svn.sourceforge.net/rigsofrods/?rev=1572&view=rev
Author:   rorthomas
Date:     2011-01-16 21:34:19 +0000 (Sun, 16 Jan 2011)

Log Message:
-----------
fixed viewer a bit

Modified Paths:
--------------
    trunk/source/viewer/CMakeLists.txt

Modified: trunk/source/viewer/CMakeLists.txt
===================================================================
--- trunk/source/viewer/CMakeLists.txt  2011-01-16 17:34:04 UTC (rev 1571)
+++ trunk/source/viewer/CMakeLists.txt  2011-01-16 21:34:19 UTC (rev 1572)
@@ -112,7 +112,11 @@
 include_directories(.)
 include_directories(../main)
 
-add_executable(RoRViewer ${viewer_sources} ${viewer_headers} ${OS_SOURCE} 
${additional_sources} ${HEADER_FILES} ${SOURCE_FILES} ../main/Settings.cpp 
../main/errorutils.cpp)
+IF(WIN32)
+       add_executable(RoRViewer WIN32 ${viewer_sources} ${viewer_headers} 
${OS_SOURCE} ${additional_sources} ${HEADER_FILES} ${SOURCE_FILES} 
../main/Settings.cpp ../main/errorutils.cpp)
+ELSEIF(UNIX)
+       add_executable(RoRViewer ${viewer_sources} ${viewer_headers} 
${OS_SOURCE} ${additional_sources} ${HEADER_FILES} ${SOURCE_FILES} 
../main/Settings.cpp ../main/errorutils.cpp)
+ENDIF(WIN32)
 
 TARGET_LINK_LIBRARIES(RoRViewer ${wxWidgets_LIBRARIES} ${Ogre_LIBRARIES} 
${Ois_LIBRARIES} ${OS_LIBS} ${optional_libs})
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Rigsofrods-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rigsofrods-devel

Reply via email to