diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2013-03-25 12:43:27 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2013-03-25 12:43:27 +0000 |
| commit | 68415d040f73ec4e6a0c091bc0652b7825a6e82b (patch) | |
| tree | fd7e851dd872075c802847c576ae4c978858621e /CMakeLists.txt | |
| parent | 8ee74f6bff65ebfadaa728aa00cdb9005246d902 (diff) | |
[trunk] separate the opj_config file between public and private part to avoid expose unused variables into the public API.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 6bb62e61..c55f46f8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -211,8 +211,6 @@ CHECK_INCLUDE_FILE("unistd.h" HAVE_UNISTD_H) include(TestLargeFiles) OPJ_TEST_LARGE_FILES(OPJ_HAVE_LARGEFILES) - - #----------------------------------------------------------------------------- # Build Library add_subdirectory(src) @@ -249,6 +247,12 @@ configure_file( ${CMAKE_CURRENT_BINARY_DIR}/src/lib/openjp2/opj_config.h @ONLY ) + + configure_file( + ${CMAKE_CURRENT_SOURCE_DIR}/src/lib/openjp2/opj_config_private.h.cmake.in + ${CMAKE_CURRENT_BINARY_DIR}/src/lib/openjp2/opj_config_private.h + @ONLY + ) #----------------------------------------------------------------------------- # Build DOCUMENTATION (not in ALL target and only if Doxygen is found) |
