diff options
| author | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
|---|---|---|
| committer | Anton Novoselov <[email protected]> | 2017-08-01 12:53:38 +0300 |
| commit | 236f03c0b9a4982328ed1201978f7f69d192d9b2 (patch) | |
| tree | e486f2fa39dba203563895541e92c60ed3e25759 /sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake | |
| parent | Added screens to welcome page (diff) | |
| download | blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.tar.xz blast-236f03c0b9a4982328ed1201978f7f69d192d9b2.zip | |
Blast 1.1 release (windows / linux)
see docs/release_notes.txt for details
Diffstat (limited to 'sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake')
| -rw-r--r-- | sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake b/sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake index c99653b..3d7bb78 100644 --- a/sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake +++ b/sdk/compiler/cmake/linux/NvBlastExtAuthoring.cmake @@ -18,6 +18,12 @@ SET(BLASTEXT_COMPILE_DEFS $<$<CONFIG:release>:${BLAST_SLN_RELEASE_COMPILE_DEFS}> ) -SET(BLAST_EXT_SHARED_LIB_TYPE STATIC) +SET(BLAST_EXT_SHARED_LIB_TYPE SHARED) -SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "-Wno-maybe-uninitialized") +#Exceptions are needed by boost +#This option doesn't work on Clang +IF (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") + SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "-Wno-maybe-uninitialized" "-fexceptions" "-Wno-unused-parameter") +ELSE () + SET(BLASTEXT_PLATFORM_COMPILE_OPTIONS "-Wno-return-type-c-linkage" "-pedantic" "-fexceptions" "-Wno-unused-parameter") +ENDIF()
\ No newline at end of file |