Skip to content

Commit

Permalink
define cmake export compile commands after project
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrLackner committed Jun 3, 2020
1 parent 94d489e commit efbd71c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ option( USE_SUPERBUILD "use ccache" ON)

set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${CMAKE_CURRENT_SOURCE_DIR}/cmake/cmake_modules")

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

if(APPLE)
set(INSTALL_DIR_DEFAULT /Applications/Netgen.app)
else(APPLE)
Expand Down Expand Up @@ -78,6 +76,8 @@ else()
endif()
endif()

set(CMAKE_EXPORT_COMPILE_COMMANDS ON)

include (${CMAKE_CURRENT_LIST_DIR}/cmake/generate_version_file.cmake)
set(CPACK_PACKAGE_VERSION "${NETGEN_VERSION}")

Expand Down

0 comments on commit efbd71c

Please sign in to comment.