Skip to content

Commit

Permalink
fixed wrong conan_c_flags (#1070)
Browse files Browse the repository at this point in the history
  • Loading branch information
memsharded authored and lasote committed Mar 6, 2017
1 parent a8b8fe7 commit 7931bfe
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions conans/client/generators/cmake_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@ def cmake_global_vars(deps, build_type=""):
set_property(TARGET {name} PROPERTY INTERFACE_COMPILE_DEFINITIONS ${{CONAN_COMPILE_DEFINITIONS_{uname}}}
$<$<CONFIG:Release>:${{CONAN_COMPILE_DEFINITIONS_{uname}_RELEASE}}>
$<$<CONFIG:Debug>:${{CONAN_COMPILE_DEFINITIONS_{uname}_DEBUG}}>)
set_property(TARGET {name} PROPERTY INTERFACE_COMPILE_OPTIONS ${{CONAN_CFLAGS_{uname}}} ${{CONAN_CXX_FLAGS_{uname}}}
$<$<CONFIG:Release>:${{CONAN_CFLAGS_{uname}_RELEASE}} ${{CONAN_CXX_FLAGS_{uname}_RELEASE}}>
$<$<CONFIG:Debug>:${{CONAN_CFLAGS_{uname}_DEBUG}} ${{CONAN_CXX_FLAGS_{uname}_DEBUG}}>)
set_property(TARGET {name} PROPERTY INTERFACE_COMPILE_OPTIONS ${{CONAN_C_FLAGS_{uname}}} ${{CONAN_CXX_FLAGS_{uname}}}
$<$<CONFIG:Release>:${{CONAN_C_FLAGS_{uname}_RELEASE}} ${{CONAN_CXX_FLAGS_{uname}_RELEASE}}>
$<$<CONFIG:Debug>:${{CONAN_C_FLAGS_{uname}_DEBUG}} ${{CONAN_CXX_FLAGS_{uname}_DEBUG}}>)
"""


Expand Down

0 comments on commit 7931bfe

Please sign in to comment.