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:
Aleric Inglewood
2011-05-16 23:49:03 +02:00
parent 10af185abc
commit addb7a559e
2 changed files with 8 additions and 2 deletions

View File

@@ -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