Skip to content

Commit 59446be

Browse files
committed
Set module path
1 parent 879918a commit 59446be

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE INTERNAL "")
1515
if(UNIX AND NOT APPLE)
1616
set(LINUX TRUE CACHE INTERNAL "")
1717
endif()
18+
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/wxWidgets/build/cmake/modules" CACHE INTERNAL "")
19+
message("module path = ${CMAKE_MODULE_PATH}")
1820

1921
file(GLOB source "source/*.cpp" "source/*.hpp" "source/*.h")
2022
add_executable("${PROJECT_NAME}" WIN32 ${source} "source/wxmac.icns" "source/windows.rc")

0 commit comments

Comments
 (0)