1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0027041: CMake - CLang 3.6.2 fails to link DRAWEXE on Ubuntu 15.10

"stdc++" is added to CSF_ThreadLibs in CMake script to make DRAWEXE built well.

In addition, TKVCAF added in CMake script for OCAF MFC sample, and Yacc and Lex files added in src/StepFile/FILES to make it consistent with actual contents of the package.
This commit is contained in:
abv 2015-12-26 18:59:36 +03:00
parent 155408bf59
commit 13c7b7a395
3 changed files with 4 additions and 2 deletions

View File

@ -74,7 +74,7 @@ else()
set (CSF_ThreadLibs "c")
set (CSF_OpenGlLibs "EGL GLESv2")
elseif (UNIX)
set (CSF_ThreadLibs "pthread rt")
set (CSF_ThreadLibs "pthread rt stdc++")
set (CSF_OpenGlLibs "GLU GL")
set (CSF_XwLibs "X11 Xext Xmu Xi")

View File

@ -66,4 +66,4 @@ include_directories (${CMAKE_BINARY_DIR}/inc
${Ocaf_SRC_DIR}
${MFC_STANDARD_SAMPLES_DIR}/Common)
target_link_libraries (Ocaf mfcsample TKLCAF TKBO)
target_link_libraries (Ocaf mfcsample TKLCAF TKVCAF TKBO)

View File

@ -10,3 +10,5 @@ StepFile_Read.hxx
StepFile_Transfer.hxx
stepread.c
stepread.ph
step.lex
step.yacc