diff options
| author | jhurst <jhurst@cinecert.com> | 2021-11-10 13:08:57 -0800 |
|---|---|---|
| committer | jhurst <jhurst@cinecert.com> | 2021-11-10 13:08:57 -0800 |
| commit | 60aa4a5151e2dd7f269c64130f62c918b0f85492 (patch) | |
| tree | 6f021715ab7f4a7b20bd14388b858440ddab2377 /src | |
| parent | 1990ec946ff376eafbe24e8217ff536b12c5f66d (diff) | |
Moved as-02-wrap-jxs build under the JXS conditional
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 7183554..54094d2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -217,11 +217,13 @@ if(WIN32) target_link_libraries(as-02-wrap general Advapi32.lib)
endif(WIN32)
-add_executable(as-02-wrap-jxs "as-02-wrap-jxs.cpp")
-target_link_libraries(as-02-wrap-jxs general libas02)
-if(WIN32)
- target_link_libraries(as-02-wrap-jxs general Advapi32.lib)
-endif(WIN32)
+if (USE_ASDCP_JXS)
+ add_executable(as-02-wrap-jxs "as-02-wrap-jxs.cpp")
+ target_link_libraries(as-02-wrap-jxs general libas02)
+ if(WIN32)
+ target_link_libraries(as-02-wrap-jxs general Advapi32.lib)
+ endif(WIN32)
+endif (USE_ASDCP_JXS)
add_executable(as-02-wrap-iab "as-02-wrap-iab.cpp")
target_link_libraries(as-02-wrap-iab general libas02)
@@ -244,7 +246,11 @@ endif(WIN32) # add the install target
install(TARGETS libkumu libasdcp libas02 EXPORT asdcplibtargets RUNTIME DESTINATION bin LIBRARY DESTINATION lib ARCHIVE DESTINATION lib INCLUDES DESTINATION "${OpenSSLLib_include_DIR}" "${XercescppLib_include_DIR}")
-set(install_targets blackwave wavesplit klvwalk asdcp-test asdcp-wrap asdcp-unwrap asdcp-info asdcp-util j2c-test as-02-wrap as-02-wrap-jxs as-02-wrap-iab as-02-unwrap as-02-info kmfilegen kmuuidgen kmrandgen)
+set(install_targets blackwave wavesplit klvwalk asdcp-test asdcp-wrap asdcp-unwrap asdcp-info asdcp-util j2c-test as-02-wrap as-02-wrap-iab as-02-unwrap as-02-info kmfilegen kmuuidgen kmrandgen)
+
+if (USE_ASDCP_JXS)
+ list(APPEND install_targets as-02-wrap-jxs)
+endif (USE_ASDCP_JXS)
install(TARGETS ${install_targets} RUNTIME DESTINATION bin)
install(FILES ${as02_deploy_header} ${asdcp_deploy_header} DESTINATION include)
|
