diff --git a/litecam/CMakeLists.txt b/litecam/CMakeLists.txt index 7f9f33d..5a22e13 100644 --- a/litecam/CMakeLists.txt +++ b/litecam/CMakeLists.txt @@ -12,7 +12,12 @@ set(INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include) # Define source files for the Camera library if (WIN32) - set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded") + if (CMAKE_BUILD_TYPE STREQUAL "Debug") + set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -g") + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDebug") + else() + set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded") + endif() set(LIBRARY_SOURCES src/CameraWindows.cpp diff --git a/litecam/dist/lib/windows/debug/litecam.dll b/litecam/dist/lib/windows/debug/litecam.dll index b0fd641..017ec9f 100644 Binary files a/litecam/dist/lib/windows/debug/litecam.dll and b/litecam/dist/lib/windows/debug/litecam.dll differ