]> git.donarmstrong.com Git - kiibohd-controller.git/commitdiff
Disable command list when using configurator
authorJacob Alexander <haata@kiibohd.com>
Thu, 5 May 2016 19:57:30 +0000 (12:57 -0700)
committerJacob Alexander <haata@kiibohd.com>
Thu, 5 May 2016 19:57:30 +0000 (12:57 -0700)
Lib/CMake/build.cmake

index de58ea03545bb90e05e82b356e96300c9160f6f4..19ffd0254dd46aeda4edb86894e95037624cbc9a 100644 (file)
@@ -145,7 +145,7 @@ endif()
 set( CMAKE_EXPORT_COMPILE_COMMANDS ON )
 
 #| Make sure symlink exists (for convenience)
-if ( UNIX )
+if ( UNIX AND NOT DEFINED CONFIGURATOR )
        # Make sure symlink is created immediately
        execute_process ( COMMAND ln -sfn ${CMAKE_BINARY_DIR}/compile_commands.json ${CMAKE_SOURCE_DIR}/. )