Skip to content
Snippets Groups Projects
Commit abdc7b6e authored by Kitware Robot's avatar Kitware Robot Committed by Ben Boeckel
Browse files

tiff 2016-08-03 (a4c0c70d)

Code extracted from:

    https://gitlab.kitware.com/third-party/tiff.git

at commit a4c0c70d32d3cc25a3127d40fd301db3bded8344 (for/vtk).
parent c025ef6a
No related branches found
No related tags found
No related merge requests found
......@@ -181,9 +181,12 @@ foreach(flag ${test_flags})
endif (${test_c_flag})
endforeach(flag ${test_flags})
# XXX(kitware): vtk does postfixes elsewhere.
if (FALSE)
if(MSVC)
set(CMAKE_DEBUG_POSTFIX "d")
endif()
endif ()
option(ld-version-script "Enable linker version script" ON)
# Check if LD supports linker scripts.
......@@ -196,7 +199,7 @@ VERS_2 {
} VERS_1;
")
set(CMAKE_REQUIRED_FLAGS_SAVE ${CMAKE_REQUIRED_FLAGS})
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS} "-Werror -Wl,--version-script=${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
check_c_source_compiles("int main(void){return 0;}" HAVE_LD_VERSION_SCRIPT)
set(CMAKE_REQUIRED_FLAGS ${CMAKE_REQUIRED_FLAGS_SAVE})
file(REMOVE "${CMAKE_CURRENT_BINARY_DIR}/conftest.map")
......
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