mirror of
https://github.com/triqs/dft_tools
synced 2024-12-25 05:43:40 +01:00
fixed cmake dependency warnings
This commit is contained in:
parent
f6da304234
commit
34414cc096
@ -59,9 +59,6 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "Intel")
|
||||
set(compiler_name "Intel icc")
|
||||
#string(REGEX REPLACE "[^0-9]*([0-9]+\\.[0-9]\\.[0-9]).*" "\\1" compiler_version ${_compiler_output})
|
||||
|
||||
# for intel 14.0 /test
|
||||
link_libraries( -lomp_db )
|
||||
|
||||
else ()
|
||||
set(compiler_version_min "0.0")
|
||||
set(compiler_group 0)
|
||||
|
@ -29,7 +29,8 @@ macro (triqs_python_extension ModuleName)
|
||||
set_property (GLOBAL APPEND PROPERTY TRIQS_PY_CONVERTERS_TARGETS "python_wrap_${ModuleName}")
|
||||
|
||||
add_custom_target(python_wrap_${ModuleName} ALL DEPENDS ${wrap_name} ${converter_name})
|
||||
add_dependencies(python_wrap_${ModuleName} py_copy ${CMAKE_CURRENT_BINARY_DIR}/${ModuleName}_desc.py )
|
||||
add_dependencies(python_wrap_${ModuleName} py_copy)
|
||||
#add_dependencies(python_wrap_${ModuleName} ${CMAKE_CURRENT_SOURCE_DIR}/${ModuleName}_desc.py )
|
||||
|
||||
add_library(${ModuleName} MODULE ${wrap_name})
|
||||
set_target_properties(${ModuleName} PROPERTIES PREFIX "") #eliminate the lib in front of the module name
|
||||
|
Loading…
Reference in New Issue
Block a user