aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.cmake.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.cmake.mk')
-rw-r--r--Mk/bsd.cmake.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mk/bsd.cmake.mk b/Mk/bsd.cmake.mk
index 5fcd8cf2b617..ba5c583c122d 100644
--- a/Mk/bsd.cmake.mk
+++ b/Mk/bsd.cmake.mk
@@ -48,7 +48,8 @@ CMAKE_ARGS+= -DCMAKE_C_COMPILER:STRING="${CC}" \
-DCMAKE_C_FLAGS:STRING="${CFLAGS}" \
-DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" \
-DCMAKE_INSTALL_PREFIX:PATH="${CMAKE_INSTALL_PREFIX}" \
- -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}"
+ -DCMAKE_BUILD_TYPE:STRING="${CMAKE_BUILD_TYPE}" \
+ -DTHREADS_HAVE_PTHREAD_ARG:BOOL=YES
#
# Default build type and sourcedir
@@ -73,7 +74,7 @@ CMAKE_ARGS+= -DCMAKE_THREAD_LIBS:STRING="${PTHREAD_LIBS}" \
# Strip binaries
#
.if !defined(WITH_DEBUG)
-CMAKE_ARGS+= -DCMAKE_INSTALL_DO_STRIP:BOOL=ON
+INSTALL_TARGET?= install/strip
.endif
#