Missing include dirs
Boost_LIBRARIES misplaced : not in add_library but target_link_libraries
This commit is contained in:
parent
4e4a13c265
commit
e43c102f45
|
@ -1,5 +1,7 @@
|
||||||
|
|
||||||
include_directories ( ${HURRICANE_SOURCE_DIR}/src/hurricane )
|
include_directories ( ${HURRICANE_SOURCE_DIR}/src/hurricane
|
||||||
|
${Boost_INCLUDE_DIRS}
|
||||||
|
)
|
||||||
set ( includes hurricane/Mask.h
|
set ( includes hurricane/Mask.h
|
||||||
hurricane/DebugSession.h
|
hurricane/DebugSession.h
|
||||||
hurricane/Backtrace.h
|
hurricane/Backtrace.h
|
||||||
|
@ -156,6 +158,7 @@
|
||||||
TextTranslator.cpp
|
TextTranslator.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
add_library ( hurricane ${cpps} ${Boost_LIBRARIES} )
|
add_library ( hurricane ${cpps} )
|
||||||
|
target_link_libraries ( hurricane ${Boost_LIBRARIES} )
|
||||||
install ( TARGETS hurricane DESTINATION lib${LIB_SUFFIX} )
|
install ( TARGETS hurricane DESTINATION lib${LIB_SUFFIX} )
|
||||||
install ( FILES ${includes} DESTINATION include/coriolis2/hurricane )
|
install ( FILES ${includes} DESTINATION include/coriolis2/hurricane )
|
||||||
|
|
Loading…
Reference in New Issue