summaryrefslogtreecommitdiff
path: root/src/lib/openjp2
diff options
context:
space:
mode:
authorRex Dieter <rdieter@math.unl.edu>2015-07-30 09:53:35 -0500
committerRex Dieter <rdieter@math.unl.edu>2015-07-30 09:54:07 -0500
commite4735c703d4cffc15b3e9361b488098946324404 (patch)
treee9032793694583f9f448644d90c899407afd7914 /src/lib/openjp2
parent5b66156be4c372f6486bc47762046fc5c5b8cc0e (diff)
better -ffast-math handling
issue #488 See also http://public.kitware.com/pipermail/cmake/2015-April/060479.html
Diffstat (limited to 'src/lib/openjp2')
-rw-r--r--src/lib/openjp2/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/openjp2/CMakeLists.txt b/src/lib/openjp2/CMakeLists.txt
index 414664f9..4a865e5d 100644
--- a/src/lib/openjp2/CMakeLists.txt
+++ b/src/lib/openjp2/CMakeLists.txt
@@ -85,6 +85,7 @@ if(UNIX)
target_link_libraries(${OPENJPEG_LIBRARY_NAME} m)
endif()
set_target_properties(${OPENJPEG_LIBRARY_NAME} PROPERTIES ${OPENJPEG_LIBRARY_PROPERTIES})
+target_compile_options(${OPENJPEG_LIBRARY_NAME} PRIVATE ${OPENJPEG_LIBRARY_COMPILE_OPTIONS})
# Install library
install(TARGETS ${OPENJPEG_LIBRARY_NAME}