looks like cmake is per design not for building static executables, clang too. =%-|

pull/528/head
Ser Lev Arris 2015-04-08 12:34:54 +02:00
parent 297e1d2117
commit 7a6c00ca11
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@ PROJECT( Assimp )
option(BUILD_SHARED_LIBS "Build package with shared libraries." OFF)
if(NOT BUILD_SHARED_LIBS)
set(CMAKE_EXE_LINKER_FLAGS "-static")
#set(CMAKE_EXE_LINKER_FLAGS "-static")
set(LINK_SEARCH_START_STATIC 1)
endif(NOT BUILD_SHARED_LIBS)
# Define here the needed parameters