diff Lib/CMake/build.cmake @ 432:1a2fb67b0237

Disable command list when using configurator
author Jacob Alexander <haata@kiibohd.com>
date Thu, 05 May 2016 12:57:30 -0700
parents b5746c43904e
children
line wrap: on
line diff
--- a/Lib/CMake/build.cmake	Tue Mar 22 19:51:43 2016 -0700
+++ b/Lib/CMake/build.cmake	Thu May 05 12:57:30 2016 -0700
@@ -145,7 +145,7 @@
 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}/. )