rename pajladasignals

This commit is contained in:
Rasmus Karlsson 2021-02-20 15:49:59 +01:00
parent fbe2134866
commit 5cf9decc57
2 changed files with 7 additions and 7 deletions

View file

@ -1,14 +1,14 @@
include(FindPackageHandleStandardArgs) include(FindPackageHandleStandardArgs)
find_path(Signals_INCLUDE_DIR pajlada/signals/signal.hpp HINTS ${CMAKE_SOURCE_DIR}/lib/signals/include) find_path(PajladaSignals_INCLUDE_DIR pajlada/signals/signal.hpp HINTS ${CMAKE_SOURCE_DIR}/lib/signals/include)
find_package_handle_standard_args(Signals DEFAULT_MSG Signals_INCLUDE_DIR) find_package_handle_standard_args(PajladaSignals DEFAULT_MSG PajladaSignals_INCLUDE_DIR)
if (Signals_FOUND) if (PajladaSignals_FOUND)
add_library(Signals::Signals INTERFACE IMPORTED) add_library(Pajlada::Signals INTERFACE IMPORTED)
set_target_properties(Signals::Signals PROPERTIES set_target_properties(Pajlada::Signals PROPERTIES
INTERFACE_INCLUDE_DIRECTORIES "${Signals_INCLUDE_DIR}" INTERFACE_INCLUDE_DIRECTORIES "${PajladaSignals_INCLUDE_DIR}"
) )
endif () endif ()
mark_as_advanced(Signals_INCLUDE_DIR) mark_as_advanced(PajladaSignals_INCLUDE_DIR)