Skip to content

Commit

Permalink
Merge pull request #160 from bisbarn/master
Browse files Browse the repository at this point in the history
Added include for the generated xtensor-pythonTargets.cmake.
  • Loading branch information
SylvainCorlay committed Aug 8, 2018
2 parents 3f4125f + 9e5dcfc commit c30521b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions xtensor-pythonConfig.cmake.in
Expand Up @@ -15,7 +15,7 @@

@PACKAGE_INIT@

set(PN xtensor-python)
set_and_check(${PN}_INCLUDE_DIRS "${PACKAGE_PREFIX_DIR}/@CMAKE_INSTALL_INCLUDEDIR@")
set(${PN}_LIBRARY "")
check_required_components(${PN})
if(NOT TARGET @PROJECT_NAME@)
include("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake")
get_target_property(@PROJECT_NAME@_INCLUDE_DIRS xtensor-python INTERFACE_INCLUDE_DIRECTORIES)
endif()

0 comments on commit c30521b

Please sign in to comment.