From: Dawid Jagiela Date: Sun, 27 May 2012 21:45:02 +0000 (+0200) Subject: compile_definitions workaround (cmake does not pass it to last file on list) for... X-Git-Tag: v.3.2~93 X-Git-Url: http://mmka.chem.univ.gda.pl/gitweb/?a=commitdiff_plain;h=3534e2df9b4947830df7a32b6073ece14461fb44;hp=1a9f01f6a94480297e43e6a085e482932d7076df;p=unres.git compile_definitions workaround (cmake does not pass it to last file on list) for unres/src_MD-M/CMakeLists.txt --- diff --git a/source/unres/src_MD-M/CMakeLists.txt b/source/unres/src_MD-M/CMakeLists.txt index df20162..8307560 100644 --- a/source/unres/src_MD-M/CMakeLists.txt +++ b/source/unres/src_MD-M/CMakeLists.txt @@ -157,7 +157,8 @@ set(UNRES_MDM_PP_SRC thread.F timing.F together.F - unres.F + unres.F + proc_proc.c ) @@ -256,7 +257,7 @@ endif (architektura STREQUAL "64") set_property(SOURCE ${UNRES_MDM_PP_SRC} PROPERTY COMPILE_DEFINITIONS ${CPPFLAGS} ) # Apply preprocesor flags to proc_proc.c -set_property(SOURCE proc_proc.c APPEND PROPERTY COMPILE_DEFINITIONS "SGI" ) +set_property(SOURCE proc_proc.c PROPERTY COMPILE_DEFINITIONS "SGI" ) #========================================