commit-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Commit-gnuradio] [gnuradio] 03/04: cmake: fix component force on to wor


From: git
Subject: [Commit-gnuradio] [gnuradio] 03/04: cmake: fix component force on to work as expected
Date: Thu, 24 Jul 2014 17:09:13 +0000 (UTC)

This is an automated email from the git hooks/post-receive script.

jcorgan pushed a commit to branch maint
in repository gnuradio.

commit f9d7881b005692df748d60f6e874172fd25ffbec
Author: Michael Dickens <address@hidden>
Date:   Wed Jul 23 15:09:52 2014 -0400

    cmake: fix component force on to work as expected
---
 cmake/Modules/GrComponent.cmake | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/cmake/Modules/GrComponent.cmake b/cmake/Modules/GrComponent.cmake
index f802cdc..5be3e81 100644
--- a/cmake/Modules/GrComponent.cmake
+++ b/cmake/Modules/GrComponent.cmake
@@ -46,9 +46,8 @@ function(GR_REGISTER_COMPONENT name var)
         message(STATUS "  Dependency ${dep} = ${${dep}}")
     endforeach(dep)
 
-    #if the user set the var to force, we note this
-    if("${${var}}" STREQUAL "FORCE")
-        set(${var} ON)
+    #if the user set the var to force on, we note this
+    if("${${var}}" STREQUAL "ON")
         set(var_force TRUE)
     else()
         set(var_force FALSE)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]