Skip to content
Snippets Groups Projects
Commit 9ca162fb authored by Erica Firment's avatar Erica Firment
Browse files

moose

parents 872ecdbe 52253a7f
No related branches found
No related tags found
No related merge requests found
# -*- cmake -*- # -*- cmake -*-
include(Prebuilt) include(Prebuilt)
if (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu) if (INSTALL_PROPRIETARY AND NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu)
use_prebuilt_binary(kdu) use_prebuilt_binary(kdu)
if (WINDOWS) if (WINDOWS)
set(KDU_LIBRARY debug kdu_cored optimized kdu_core) set(KDU_LIBRARY debug kdu_cored optimized kdu_core)
...@@ -15,4 +15,4 @@ if (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu) ...@@ -15,4 +15,4 @@ if (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu)
set(LLKDU_STATIC_LIBRARY llkdu_static) set(LLKDU_STATIC_LIBRARY llkdu_static)
set(LLKDU_LIBRARIES ${LLKDU_LIBRARY}) set(LLKDU_LIBRARIES ${LLKDU_LIBRARY})
set(LLKDU_STATIC_LIBRARIES ${LLKDU_STATIC_LIBRARY}) set(LLKDU_STATIC_LIBRARIES ${LLKDU_STATIC_LIBRARY})
endif (NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu) endif (INSTALL_PROPRIETARY AND NOT STANDALONE AND EXISTS ${LIBS_CLOSED_DIR}/llkdu)
...@@ -1388,7 +1388,11 @@ if (WINDOWS) ...@@ -1388,7 +1388,11 @@ if (WINDOWS)
COMMENT "Copying staged dlls." COMMENT "Copying staged dlls."
) )
add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon llkdu) add_dependencies(${VIEWER_BINARY_NAME} stage_third_party_libs llcommon)
if(LLKDU_LIBRARY)
# kdu may not exist!
add_dependencies(${VIEWER_BINARY_NAME} llkdu)
endif(LLKDU_LIBRARY)
endif(WINDOWS) endif(WINDOWS)
if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts) if (EXISTS ${CMAKE_SOURCE_DIR}/copy_win_scripts)
......
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