From d7d7f425dc80c9a5965a1bdd3a4d3f0faaaf2da0 Mon Sep 17 00:00:00 2001 From: Ward Fisher Date: Tue, 16 Jan 2018 22:13:32 -0600 Subject: [PATCH] Corrected an issue on Windows, temporarily, it may need to be reinstated but first things first, get the test to run. --- liblib/CMakeLists.txt | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/liblib/CMakeLists.txt b/liblib/CMakeLists.txt index 4e6eb39a2..4049b3a60 100644 --- a/liblib/CMakeLists.txt +++ b/liblib/CMakeLists.txt @@ -33,14 +33,14 @@ IF(MOD_NETCDF_NAME) SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_NAME ${NETCDF_LIB_NAME}) ENDIF() -IF(MSVC) - SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY - ${CMAKE_CURRENT_BINARY_DIR}) - SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG - ${CMAKE_CURRENT_BINARY_DIR}) - SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE - ${CMAKE_CURRENT_BINARY_DIR}) -ENDIF() +#IF(MSVC) +# SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY +# ${CMAKE_CURRENT_BINARY_DIR}) +# SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY_DEBUG +# ${CMAKE_CURRENT_BINARY_DIR}) +# SET_TARGET_PROPERTIES(netcdf PROPERTIES RUNTIME_OUTPUT_DIRECTORY_RELEASE +# ${CMAKE_CURRENT_BINARY_DIR}) +#ENDIF() ##### # Add dependencies required for linking.