Skip to content

Commit a918efb

Browse files
committed
Removing extraneous cmake commands
1 parent 5089d31 commit a918efb

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

cmake/blingfire-config.cmake.in

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
@PACKAGE_INIT@
2-
31
set(PN BlingFire)
42

5-
#-----------------------------------------------------------------------------
6-
# Don't include targets if this file is being picked up by another
7-
# project which has already built this as a subproject
8-
#-----------------------------------------------------------------------------
9-
if(NOT TARGET ${PN}::BlingFire)
10-
include("${CMAKE_CURRENT_LIST_DIR}/${PN}Targets.cmake")
11-
12-
get_property(_loc TARGET ${PN}::BlingFire PROPERTY LOCATION)
13-
set(${PN}_LIBRARY ${_loc})
14-
get_property(_ill TARGET ${PN}::BlingFire PROPERTY INTERFACE_LINK_LIBRARIES)
15-
set(${PN}_LIBRARIES ${_ill})
16-
17-
get_property(_id TARGET ${PN}::BlingFire PROPERTY INCLUDE_DIRECTORIES)
18-
set(${PN}_INCLUDE_DIR ${_id})
19-
get_property(_iid TARGET ${PN}::BlingFire PROPERTY INTERFACE_INCLUDE_DIRECTORIES)
20-
set(${PN}_INCLUDE_DIRS ${_iid})
21-
endif()
3+
include("${CMAKE_CURRENT_LIST_DIR}/blingfire-targets.cmake")

0 commit comments

Comments
 (0)