-
Notifications
You must be signed in to change notification settings - Fork 60
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 #93 from Jihadist/feature/cmake-install
CMake install
- Loading branch information
Showing
3 changed files
with
116 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
SET(PACKAGE_VERSION @PROJECT_VERSION@) | ||
IF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) | ||
SET(PACKAGE_VERSION_EXACT "true") | ||
ENDIF (PACKAGE_FIND_VERSION VERSION_EQUAL PACKAGE_VERSION) | ||
IF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION) | ||
SET(PACKAGE_VERSION_COMPATIBLE "true") | ||
ELSE (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION) | ||
SET(PACKAGE_VERSION_UNSUITABLE "true") | ||
ENDIF (NOT PACKAGE_FIND_VERSION VERSION_GREATER PACKAGE_VERSION) | ||
IF (PACKAGE_VERSION_UNSUITABLE) | ||
MESSAGE("VERSION CHECK FAILED FOR ${PACKAGE_FIND_NAME}. WANTED ${PACKAGE_FIND_VERSION}, HAVE ${PACKAGE_VERSION}") | ||
ENDIF(PACKAGE_VERSION_UNSUITABLE) |
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 @@ | ||
SET(prefix "@CMAKE_INSTALL_PREFIX@") | ||
SET(exec_prefix "@CMAKE_INSTALL_PREFIX@") | ||
SET(dnet_FOUND "TRUE") | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/dnetTargets.cmake") |