Generalize how -fPIC is added, even in cwdebug.
Although the file is empty when not compiling with CWDEBUG, windows doesn't like the -fPIC there.
This commit is contained in:
@@ -29,7 +29,7 @@ if(NOT WORD_SIZE EQUAL 32)
|
||||
else(WINDOWS) # not windows therefore gcc LINUX and DARWIN
|
||||
add_definitions(-fPIC)
|
||||
endif(WINDOWS)
|
||||
endif (NOT WORD_SIZE EQUAL 32)
|
||||
endif (NOT WORD_SIZE EQUAL 32)
|
||||
|
||||
set(basic_plugin_filepicker_SOURCE_FILES
|
||||
basic_plugin_filepicker.cpp
|
||||
|
||||
Reference in New Issue
Block a user