Corrected an issue on Windows, temporarily, it may need to be reinstated but first things first, get the test to run.

This commit is contained in:
Ward Fisher 2018-01-16 22:13:32 -06:00
parent f7b4c61c69
commit d7d7f425dc

View File

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