Skip to content

Commit ade352a

Browse files
committed
Update Debug builds of Test and SDKTool to work with binary download of ORTools
1 parent 0f2a6bf commit ade352a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

sdktool/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ set(SDKTOOL_SRC
2323
if (UNIX)
2424
set(wxWidgets_CONFIG_EXECUTABLE /usr/local/bin/wx-config-3)
2525
find_package(wxWidgets QUIET COMPONENTS qa aui richtext html propgrid adv net stc core xml base REQUIRED)
26-
#else()
27-
# set(wxWidgets_ROOT_DIR $ENV{WXMSW3})
28-
# find_package(wxWidgets QUIET COMPONENTS qa webview aui richtext html propgrid adv net stc core xml base scintilla REQUIRED)
26+
else()
27+
set(wxWidgets_ROOT_DIR $ENV{WXMSW3})
28+
find_package(wxWidgets QUIET COMPONENTS qa webview aui richtext html propgrid adv net stc core xml base scintilla REQUIRED)
2929
endif()
3030

3131
include(${wxWidgets_USE_FILE})

test/CMakeLists.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,10 @@ endif()
7777

7878
if (CMAKE_BUILD_TYPE STREQUAL "Debug" OR "Debug" IN_LIST CMAKE_CONFIGURATION_TYPES)
7979
find_library( GTESTD_LIB
80-
NAMES libgtest.a gtest.lib libgtest.so
81-
# ortools release libraries for MSVC PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Debug)
82-
PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Release)
80+
NAMES libgtest.a gtest.lib libgtest.so
81+
# ortools release libraries for MSVC
82+
PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Debug)
83+
# PATHS $ENV{GTEST_DIR} ${GTDIR}/build/lib ${GTDIR}/build/lib/Release)
8384
if(UNIX AND ENABLE_COVERAGE)
8485
target_link_options(Test PRIVATE --coverage)
8586
target_link_libraries(Test debug gcov ${GTESTD_LIB})

0 commit comments

Comments
 (0)