-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! CMake config supports all library suffixes
- Loading branch information
Blanco Alonso Jorge
authored and
Nicolas Cornu
committed
Feb 1, 2021
1 parent
b8029b0
commit c78523a
Showing
1 changed file
with
1 addition
and
1 deletion.
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
|
||
get_filename_component(CONFIG_PATH "${CMAKE_CURRENT_LIST_FILE}" PATH) | ||
find_path(sonatareport_INCLUDE_DIR bbp/sonata/reports.h HINTS ${CONFIG_PATH}/../../../include) | ||
find_path(sonatareport_LIB_DIR NAMES "libsonatareport.${CMAKE_SHARED_LIBRARY_SUFFIX}" HINTS ${CONFIG_PATH}/../../../lib) | ||
find_path(sonatareport_LIB_DIR NAMES "libsonatareport${CMAKE_SHARED_LIBRARY_SUFFIX}" HINTS ${CONFIG_PATH}/../../../lib) | ||
find_library(sonatareport_LIBRARY sonatareport HINTS ${CONFIG_PATH}/../../../lib) | ||
|
||
include("${CMAKE_CURRENT_LIST_DIR}/sonata-targets.cmake") |