Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #233 from fkaa/windows-cmake
Fix CMake support for MinGW, MSVC, and others
- Loading branch information
Showing
18 changed files
with
251 additions
and
112 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ | |
|
||
# windows build crap | ||
winlibs/ | ||
dist/ | ||
*.dll | ||
|
||
# windows crap i mean why the hell does it do this crap | ||
|
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
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,35 @@ | ||
# - Try to find sackit | ||
# Once done this will define | ||
# | ||
# SACKIT_FOUND - system has sackit | ||
# sackit_INCLUDE_DIRS - the sackit include directory | ||
# sackit_LIBRARIES - the libraries needed to use sackit | ||
# | ||
# $SACKITDIR is an environment variable used for finding sackit. | ||
# | ||
|
||
FIND_PATH(sackit_INCLUDE_DIRS sackit.h | ||
PATHS | ||
$ENV{SACKITDIR} | ||
/usr/local | ||
/usr | ||
PATH_SUFFIXES include | ||
) | ||
|
||
FIND_LIBRARY(sackit_LIBRARY | ||
NAMES sackit | ||
PATHS | ||
$ENV{SACKITDIR} | ||
/usr/local | ||
/usr | ||
PATH_SUFFIXES lib | ||
) | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set SACKIT_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
INCLUDE(FindPackageHandleStandardArgs) | ||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(sackit DEFAULT_MSG sackit_LIBRARY sackit_INCLUDE_DIRS) | ||
|
||
SET(sackit_LIBRARIES ${sackit_LIBRARY}) | ||
|
||
MARK_AS_ADVANCED(sackit_LIBRARY sackit_LIBRARIES sackit_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
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.