-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix SDL2 example build on gcc
- Loading branch information
fallahn
committed
Mar 15, 2024
1 parent
7ff665b
commit 90b15af
Showing
5 changed files
with
20 additions
and
19 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
include(FindPackageHandleStandardArgs) | ||
|
||
# Search for the header file | ||
find_path(TMXLITE_INCLUDE_DIR NAMES tmxlite/Config.hpp PATH_SUFFIXES include) | ||
|
||
# Search for the library | ||
find_library(TMXLITE_LIBRARIES NAMES tmxlite PATH_SUFFIXES lib) | ||
find_library(TMXLITE_LIBRARY_DEBUG NAMES tmxlite-d) | ||
find_library(TMXLITE_LIBRARY_RELEASE NAMES tmxlite) | ||
|
||
# Did we find everything we need? | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(tmxlite DEFAULT_MSG TMXLITE_LIBRARIES TMXLITE_INCLUDE_DIR) | ||
include(SelectLibraryConfigurations) | ||
select_library_configurations(TMXLITE) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TMXLITE DEFAULT_MSG TMXLITE_LIBRARY TMXLITE_INCLUDE_DIR) |
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 |
---|---|---|
@@ -1,10 +1,10 @@ | ||
include(FindPackageHandleStandardArgs) | ||
|
||
# Search for the header file | ||
find_path(TMXLITE_INCLUDE_DIR NAMES tmxlite/Config.hpp PATH_SUFFIXES include) | ||
|
||
# Search for the library | ||
find_library(TMXLITE_LIBRARIES NAMES tmxlite PATH_SUFFIXES lib) | ||
find_library(TMXLITE_LIBRARY_DEBUG NAMES tmxlite-d) | ||
find_library(TMXLITE_LIBRARY_RELEASE NAMES tmxlite) | ||
|
||
# Did we find everything we need? | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(tmxlite DEFAULT_MSG TMXLITE_LIBRARIES TMXLITE_INCLUDE_DIR) | ||
include(SelectLibraryConfigurations) | ||
select_library_configurations(TMXLITE) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(TMXLITE DEFAULT_MSG TMXLITE_LIBRARY TMXLITE_INCLUDE_DIR) |