Apply suggestions from code review

dev
Jason Rhinelander 1 year ago committed by GitHub
parent 7e1236503c
commit 8df5005f54
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 12
      daemon/CMakeLists.txt

@ -1,8 +1,8 @@
set(DEFAULT_WITH_BOOTSTRAP ON)
if(APPLE)
set(WITH_BOOTSTRAP OFF)
else()
option(WITH_BOOTSTRAP "build lokinet-bootstrap tool" ON)
set(DEFAULT_WITH_BOOTSTRAP OFF)
endif()
option(WITH_BOOTSTRAP "build lokinet-bootstrap tool" ${DEFAULT_WITH_BOOTSTRAP})
add_executable(lokinet-vpn lokinet-vpn.cpp)
if(APPLE)
@ -10,11 +10,11 @@ if(APPLE)
enable_lto(lokinet)
else()
add_executable(lokinet lokinet.cpp)
enable_lto(lokinet lokinet-vpn)
if(WITH_BOOTSTRAP)
add_executable(lokinet-bootstrap lokinet-bootstrap.cpp)
enable_lto(lokinet lokinet-vpn lokinet-bootstrap)
else()
enable_lto(lokinet lokinet-vpn)
enable_lto(lokinet-bootstrap)
endif()
endif()

Loading…
Cancel
Save