mirror of
https://github.com/debauchee/barrier.git
synced 2025-07-29 06:18:31 +02:00
added default target fix non-vs, and fixed indent in CMakeLists.txt
This commit is contained in:
parent
46a4926122
commit
47e12f465b
2 changed files with 5 additions and 1 deletions
|
@ -161,6 +161,9 @@ class InternalCommands:
|
|||
|
||||
# for non-vs always specify a build type (debug, release, etc)
|
||||
if not generator.startswith('Visual Studio'):
|
||||
# default is default for non-vs
|
||||
if target == '':
|
||||
target = 'debug'
|
||||
cmake_args = ' -DCMAKE_BUILD_TYPE=' + target.capitalize()
|
||||
|
||||
# if not visual studio, use parent dir
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue