Skip to content
Snippets Groups Projects
Commit de91e05f authored by Julien Malik's avatar Julien Malik
Browse files

COMP: do not enforce -fPIC

parent 6490b4d5
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
macro(check_PIC_flag Language)
if ( UNIX AND NOT APPLE )
if ( NOT ${CMAKE_CXX_FLAGS} MATCHES "-fPIC")
message ( FATAL_ERROR "${Language} wrapping requires CMAKE_CXX_FLAGS (or equivalent) to include -fPIC and ITK built with this flag" )
# message ( FATAL_ERROR "${Language} wrapping requires CMAKE_CXX_FLAGS (or equivalent) to include -fPIC and ITK built with this flag" )
endif()
endif()
endmacro()
......
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