From 3534e2df9b4947830df7a32b6073ece14461fb44 Mon Sep 17 00:00:00 2001 From: Dawid Jagiela Date: Sun, 27 May 2012 23:45:02 +0200 Subject: [PATCH 1/1] compile_definitions workaround (cmake does not pass it to last file on list) for unres/src_MD-M/CMakeLists.txt --- source/unres/src_MD-M/CMakeLists.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" ) #======================================== -- 1.7.9.5