Merge pull request #6638 from lioncash/lzo
CMakeLists: Don't dump LZO's includes into the top-level directory
This commit is contained in:
commit
48242f1521
|
@ -585,7 +585,6 @@ if(LZO_FOUND)
|
||||||
else()
|
else()
|
||||||
message(STATUS "Using static lzo from Externals")
|
message(STATUS "Using static lzo from Externals")
|
||||||
add_subdirectory(Externals/LZO)
|
add_subdirectory(Externals/LZO)
|
||||||
include_directories(Externals/LZO)
|
|
||||||
set(LZO lzo2)
|
set(LZO lzo2)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -1 +1,8 @@
|
||||||
add_library(lzo2 STATIC minilzo.c)
|
add_library(lzo2 STATIC
|
||||||
|
minilzo.c
|
||||||
|
)
|
||||||
|
|
||||||
|
target_include_directories(lzo2
|
||||||
|
PUBLIC
|
||||||
|
${CMAKE_CURRENT_SOURCE_DIR}
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in New Issue