mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
Use CMAKE_ON and CMAKE_OFF
This commit is contained in:
parent
9de1046f59
commit
25fa8742c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=462288
1 changed files with 4 additions and 8 deletions
|
@ -12,14 +12,10 @@ COMMENT= Commandline flags module for C++
|
|||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.txt
|
||||
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON \
|
||||
-DBUILD_STATIC_LIBS=ON \
|
||||
-DBUILD_TESTING=ON \
|
||||
-DGFLAGS_NAMESPACE:STRING=gflags \
|
||||
-DINSTALL_HEADERS=ON \
|
||||
-DINSTALL_SHARED_LIBS=ON \
|
||||
-DINSTALL_STATIC_LIBS=ON \
|
||||
-DREGISTER_INSTALL_PREFIX=OFF
|
||||
CMAKE_ARGS= -DGFLAGS_NAMESPACE:STRING=gflags
|
||||
CMAKE_OFF= REGISTER_INSTALL_PREFIX
|
||||
CMAKE_ON= BUILD_SHARED_LIBS BUILD_STATIC_LIBS BUILD_TESTING \
|
||||
INSTALL_HEADERS INSTALL_SHARED_LIBS INSTALL_STATIC_LIBS
|
||||
TEST_TARGET= test
|
||||
USE_LDCONFIG= yes
|
||||
USES= cmake pathfix shebangfix
|
||||
|
|
Loading…
Add table
Reference in a new issue