Skip to content
Snippets Groups Projects
Commit 22110c0d authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

TEST: fix error for out of source testing on windows

parent 9df31c4b
No related branches found
No related tags found
No related merge requests found
......@@ -86,6 +86,13 @@ ELSE(OTB_BINARY_DIR)
STRING(REGEX REPLACE "^/" "" OTB_INSTALL_BIN_DIR_CM24 "${OTB_INSTALL_BIN_DIR}")
STRING(REGEX REPLACE "^/" "" OTB_INSTALL_INCLUDE_DIR_CM24 "${OTB_INSTALL_INCLUDE_DIR}")
#Prevents conflicts with visual min/max function
#Add the OSSIMSTATIC flag to prevent from including dclspec(dllimport) from ossim
IF(WIN32)
ADD_DEFINITIONS(-DNOMINMAX -DOSSIM_STATIC)
ENDIF(WIN32)
ENDIF(OTB_BINARY_DIR)
IF(OTB_COMPILE_WITH_FULL_WARNING)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment