Commit 5b496339 authored by Emmanuel Promayon's avatar Emmanuel Promayon

Merge branch 'bug/#48' into 'develop'

BUG #48: Add '.lib' to 'optimized ' in cmake files

Closes #48

See merge request !84
parents 015a5b65 70936b8b
......@@ -278,7 +278,7 @@ macro(camitk_application)
if (MSVC) # TODO We have to decide how to handle debug version of external libraries
set(EXTERNAL_LIBRARIES ${EXTERNAL_LIBRARIES}
debug ${EXTERNAL_LIBRARY}${CAMITK_DEBUG_POSTFIX}.lib
optimized ${EXTERNAL_LIBRARY}
optimized ${EXTERNAL_LIBRARY}.lib
)
else()
set(EXTERNAL_LIBRARIES ${EXTERNAL_LIBRARIES} ${EXTERNAL_LIBRARY})
......
......@@ -379,7 +379,7 @@ macro(camitk_extension)
if (MSVC)
list(APPEND EXTERNAL_LIBRARIES ${EXTERNAL_LIBRARIES}
debug ${EXTERNAL_LIBRARY}${CAMITK_DEBUG_POSTFIX}.lib
optimized ${EXTERNAL_LIBRARY}
optimized ${EXTERNAL_LIBRARY}.lib
)
else()
list(APPEND EXTERNAL_LIBRARIES ${EXTERNAL_LIBRARY})
......
......@@ -277,7 +277,7 @@ macro(camitk_library)
if (MSVC)
set(LINKER_EXTERNAL_LIBRARIES ${LINKER_EXTERNAL_LIBRARIES}
debug ${EXTERNAL_LIBRARY}${CAMITK_DEBUG_POSTFIX}.lib
optimized ${EXTERNAL_LIBRARY}
optimized ${EXTERNAL_LIBRARY}.lib
)
message(STATUS "LINKER_EXTERNAL_LIBRARIES = ${LINKER_EXTERNAL_LIBRARIES}")
else()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment