Skip to content
This repository was archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
fix error message when ASM isn't enabled #7
Browse files Browse the repository at this point in the history
  • Loading branch information
Lectem committed Apr 28, 2016
1 parent 9cad3f9 commit 6d0c65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/Tools3DS.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ macro(add_binary_library libtarget)
endif()
get_cmake_property(ENABLED_LANGUAGES ENABLED_LANGUAGES)
if(NOT ENABLED_LANGUAGES MATCHES ".*ASM.*")
message(FATAL_ERROR "You have to enable ASM in order to use add_shader_library. Use enable_language(ASM). Currently enabled languages are ${ENABLED_LANGUAGES}")
message(FATAL_ERROR "You have to enable ASM in order to use add_binary_library (or any target_embed_* which relies on it). Use enable_language(ASM) in your CMakeLists. Currently enabled languages are ${ENABLED_LANGUAGES}")
endif()


Expand Down

0 comments on commit 6d0c65d

Please sign in to comment.