update CMakeLists.txt for build with internal FreeSOLID

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@5178 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 5bd2e921f42f16f9dc279991e2b062024433749d
Former-commit-id: 5df71f719df8ef2d7c0dbe528c1ba7e2c176c36e
This commit is contained in:
torcs-ng 2013-02-23 13:23:31 +00:00
parent 21881e9fdd
commit 8d14ccb505

View file

@ -1,11 +1,12 @@
INCLUDE("../../../../cmake/macros.cmake")
IF(NOT OPTION_3RDPARTY_SOLID)
ADD_SUBDIRECTORY(SOLID-2.0)
# BEFORE in order to prevent Windows 3rdParty/include/SOLID from taking the flag.
INCLUDE_DIRECTORIES(BEFORE ../simuv2.1/SOLID-2.0/include)
ELSE(NOT OPTION_3RDPARTY_SOLID)
ADD_SOLID_INCLUDEDIR()
ENDIF(NOT OPTION_3RDPARTY_SOLID)
INCLUDE(../../../../cmake/macros.cmake)
ADD_SDLIB_INCLUDEDIR(portability)
IF(WIN32)