mirror of
https://github.com/vgough/encfs.git
synced 2024-11-21 23:43:26 +01:00
fix cmake issues
This commit is contained in:
parent
5f0806c5cc
commit
addee4fa44
@ -149,7 +149,7 @@ if (USE_INTERNAL_TINYXML)
|
|||||||
add_subdirectory(${TINYXML_DIR})
|
add_subdirectory(${TINYXML_DIR})
|
||||||
include_directories(${CMAKE_CURRENT_LIST_DIR}/${TINYXML_DIR})
|
include_directories(${CMAKE_CURRENT_LIST_DIR}/${TINYXML_DIR})
|
||||||
link_directories(${CMAKE_BINARY_DIR}/${TINYXML_DIR})
|
link_directories(${CMAKE_BINARY_DIR}/${TINYXML_DIR})
|
||||||
set(TINYXML_LIBRARIES tinyxml2)
|
set(TINYXML_LIBRARIES tinyxml2_static)
|
||||||
else ()
|
else ()
|
||||||
find_package (TinyXML REQUIRED)
|
find_package (TinyXML REQUIRED)
|
||||||
include_directories (${TINYXML_INCLUDE_DIR})
|
include_directories (${TINYXML_INCLUDE_DIR})
|
||||||
|
@ -2,4 +2,4 @@ set -x
|
|||||||
set -e
|
set -e
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
cd build
|
||||||
cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/encfs -DCMAKE_BUILD_TYPE=Debug -DMINIGLOG=ON ..
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/tmp/encfs -DCMAKE_BUILD_TYPE=Debug ..
|
||||||
|
Loading…
Reference in New Issue
Block a user