forked from microsoft/vcpkg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ea680f
commit 3069c3f
Showing
5 changed files
with
47 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
The package wxwidgets provides CMake integration: | ||
|
||
find_package(wxWidgets REQUIRED) | ||
target_link_libraries(foo PRIVATE ${wxWidgets_LIBRARIES}) | ||
target_include_directories(foo PRIVATE ${wxWidgets_INCLUDE_DIRS}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
list(REMOVE_ITEM ARGS "CONFIG") | ||
list(REMOVE_ITEM ARGS "MODULE") | ||
|
||
_find_package(${ARGS} CONFIG) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
include(CMakeFindDependencyMacro) | ||
find_dependency(ZLIB) | ||
find_dependency(libpng CONFIG) | ||
find_dependency(TIFF) | ||
find_dependency(expat CONFIG) | ||
|
||
set(wxWidgets_FOUND TRUE) | ||
set(wxWidgets_INCLUDE_DIRS "${CMAKE_CURRENT_LIST_DIR}/../../include") | ||
set(wxWidgets_LIBRARY_DIRS "") | ||
set(wxWidgets_DEFINITIONS "") | ||
set(wxWidgets_DEFINITIONS_DEBUG "") | ||
set(wxWidgets_CXX_FLAGS "") | ||
set(wxWidgets_USE_FILE "${CMAKE_CURRENT_LIST_DIR}/empty.cmake") | ||
set(wxWidgets_LIBRARIES "@wxWidgets_LIBRARIES@;png;expat::expat;ZLIB::ZLIB") |