Merge pull request #803 from asarium/fix/fredFastDebug

Fix FRED configuration
This commit is contained in:
Fabian Woltermann authored and GitHub committed 2016-08-12 21:15:13 +02:00
commit 1ea71d2ba6
1 file changed
+3 -5
+3 -5
View File
@@ -169,11 +169,9 @@ IF(USE_STLPORT)
INCLUDE_DIRECTORIES(BEFORE SYSTEM ${STLPORT_INCLUDE_DIRS})
ENDIF(USE_STLPORT)
TARGET_LINK_LIBRARIES(FRED2 code) # This will also link all dependencies of code
TARGET_LINK_LIBRARIES(FRED2 platform)
TARGET_LINK_LIBRARIES(FRED2 compiler)
TARGET_LINK_LIBRARIES(FRED2 debug "nafxcwd.lib")
TARGET_LINK_LIBRARIES(FRED2 optimized "nafxcw.lib")
TARGET_LINK_LIBRARIES(FRED2 PUBLIC code) # This will also link all dependencies of code
TARGET_LINK_LIBRARIES(FRED2 PUBLIC "$<$<NOT:$<CONFIG:Release>>:nafxcwd.lib>")
TARGET_LINK_LIBRARIES(FRED2 PUBLIC "$<$<CONFIG:Release>:nafxcw.lib>")
INSTALL(
TARGETS FRED2