Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yushulx committed Jan 13, 2025
1 parent 5f195a6 commit c8ddf4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
1 change: 0 additions & 1 deletion litecam/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ set(INCLUDE_DIR ${CMAKE_SOURCE_DIR}/include)
# Define source files for the Camera library
if (WIN32)
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")
Expand Down
8 changes: 6 additions & 2 deletions litecam/examples/barcode/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ cmake_minimum_required(VERSION 3.15)
project(BarcodeScanner)

if(WIN32)
# set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")
# set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL")
if (CMAKE_BUILD_TYPE STREQUAL "Debug")
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDebug")
else()
set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded")
endif()

if(CMAKE_BUILD_TYPE STREQUAL "Release")
link_directories(${CMAKE_CURRENT_SOURCE_DIR}/../../dist/lib/windows/release ${CMAKE_CURRENT_SOURCE_DIR}/../../../examples/10.x/sdk/platforms/win/lib)
else()
Expand Down

0 comments on commit c8ddf4d

Please sign in to comment.