summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:20:37 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:20:37 -0600
commit94d37d886149ca00af50ad68789e34c0bca9a9e4 (patch)
treefea19ba606c3873baa0a8401ae0a98b0a357b457
parentdfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (diff)
parent9b523bbf41a7cc1fc401a628b1aefba689d01424 (diff)
downloadtdelibs-94d37d886149ca00af50ad68789e34c0bca9a9e4.tar.gz
tdelibs-94d37d886149ca00af50ad68789e34c0bca9a9e4.zip
Merge branch 'master' of http://scm.trinitydesktop.org/scm/git/tdelibs
-rw-r--r--kimgio/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/kimgio/CMakeLists.txt b/kimgio/CMakeLists.txt
index f227b4f88..3b72a1db6 100644
--- a/kimgio/CMakeLists.txt
+++ b/kimgio/CMakeLists.txt
@@ -142,7 +142,8 @@ if( OPENEXR_FOUND )
DESTINATION ${PLUGIN_INSTALL_DIR}
)
# FIXME COMPILE_FLAGS must be written a little better
- set_target_properties( ${target}-module PROPERTIES COMPILE_FLAGS -I${OPENEXR_INCLUDE_DIRS} )
+ STRING(REGEX REPLACE ";" " -I" OPENEXR_INCLUDE_FLAGS "-I${OPENEXR_INCLUDE_DIRS}")
+ set_target_properties( ${target}-module PROPERTIES COMPILE_FLAGS "${OPENEXR_INCLUDE_FLAGS}" )
install( FILES exr.kimgio DESTINATION ${SERVICES_INSTALL_DIR} )
endif( OPENEXR_FOUND )