Skip to content

Commit

Permalink
fixup! CMake config supports all library suffixes
Browse files Browse the repository at this point in the history
  • 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.
2 changes: 1 addition & 1 deletion CMake/sonata-config.cmake
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")

0 comments on commit c78523a

Please sign in to comment.